# -*- coding: utf-8 -*-
"""
Created on Mon Sep  5 11:16:46 2022

@author: ZXD
"""

import cv2

vc = cv2.VideoCapture('../cat.mp4')

while 1:
    ret, frame = vc.read()
    
    if frame is None:
        break
    
    cv2.imshow('Win', frame)
    
    if (cv2.waitKey(100) & 0xFF) == 27:
        break

vc.release()
cv2.destroyAllWindows()
